package top.laoliu.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author: acer
 * @Date: 2020/10/7 19:09
 * @Description: 职位实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Getter
@Setter
public class Position {
    private Integer position_id;
    private Integer company_id;
    private String position;
    private String workplace;
    private String classification;
    private String department;
    private String salary;
    private String edu_request;
    private String experience;
    private String statement;
    private String email;
    private Integer browsing_number;
    @DateTimeFormat(pattern="yyyy/MM/dd HH:mm")
    @JsonFormat(
            pattern = "yyyy/MM/dd HH:mm",
            timezone = "GMT+8"
    )
    private Date release_date;
    @DateTimeFormat(pattern="yyyy/MM/dd HH:mm")
    @JsonFormat(
            pattern = "yyyy/MM/dd HH:mm",
            timezone = "GMT+8"
    )
    private Date dead_date;
    private Integer status;
}
